type PackDir = '00' | '01' // 00:请求 01：响应
type MsgType = '01' | '02' //0x01 为正常线上业务，0x02 为调试业务

interface DataType {
    packDir : string;
    type : MsgType;
    timestamp? : string;
    length : string;
    encrypt : string;
    reserved : string;
    deviceId : string;
    cmd : string;
    data : string;
    verifyWord? : string;
    suffix : string;
}